import { defineStore } from 'pinia'

const useLayoutStore = defineStore('layout', () => {
  const isCollapse = ref(false)
  const changeCollapse = () => {
    isCollapse.value = !isCollapse.value
  }
  return {
    isCollapse,
    changeCollapse
  }
})

export default useLayoutStore